package com.study.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@TableName("order")
public class Order22 {

    @TableId("id")
    private Long id;
    @TableField("total_amount")
    private BigDecimal totalAmount;
    @TableField("user_id")
    private Long userId;
    @TableField("nick_name")
    private String nickName;
    @TableField("address")
    private String address;
    @TableField(exist = false)
    private List<Object> produceList;
}

